package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-05-29
 * Time: 19:00
 */
class Test{
    public String toString() {
        System.out.print("aaa");
        return "bbb";
    }
}


public class test {

        public static void main(String[] args) {
            Test test = new Test();
            System.out.println(test);
        }

    }

